import request from '@/utils/request'

// 查询单位会员申请列表
export function listDwhysq(query) {
  return request({
    url: '/jiesuan/dwhysq/list',
    method: 'get',
    params: query
  })
}

// 查询单位会员申请详细
export function getDwhysq(id) {
  return request({
    url: '/jiesuan/dwhysq/' + id,
    method: 'get'
  })
}

// 新增单位会员申请
export function addDwhysq(data) {
  return request({
    url: '/jiesuan/dwhysq',
    method: 'post',
    data: data
  })
}

// 修改单位会员申请
export function updateDwhysq(data) {
  return request({
    url: '/jiesuan/dwhysq',
    method: 'put',
    data: data
  })
}

// 删除单位会员申请
export function delDwhysq(id) {
  return request({
    url: '/jiesuan/dwhysq/' + id,
    method: 'delete'
  })
}
